# coding:utf-8
'''
配置文件
@author:wangyi
'''
config = {
	# 模型选择: textcnn/?/? 待逐步完成！！
	"model_name": "text_cnn",
	# 词向量维度
	"embedding_size": 300,
	# 词汇表大小
	"vocab_size": 100000,
	# 句子/文章最大长度(最多词汇数)
	"seq_length": 400,
	# 卷积核组成
	"filter_sizes": [3, 4, 5,6],
	# 每种卷积核数目
	"filter_nums": [256,128,64,32],
	# 标签个数
	"num_class": 19,
	# 初始学习率
	"inital_learning_rate": 1e-3,
	# dropout保留比例
	"keep_drop_prob": 0.5,
        # 迭代轮次
        "epoch":30,
	# 正则化系数
	"l2_lamda":0.1,
	# 每个批次数据量
	"batch_size": 16,
	# 输出结果节点
	"per_batch_print": 100,
	# 保存结果节点
	"per_save_batch": 100,
	# 选择词或者字符级别 'word'/'char'
        "char_or_word": "word",
	"decay_rate":0.1, # 学习率衰减
	"decay_steps":5000,# 学习率衰减步数
	"improved_step":1000,# 验证集准确率连续不提升的步数
	# 训练数据路径
	#"train_file_path": "./data/temp/train.csv",
    "train_file_path": "D:\pySpace\dcgame-text-classfication\data\\temp\example.csv",
	# 标签文件路径
	"label_file_path": "./data/temp/label.txt",
    #"label_file_path": "D:\pySpace\dcgame-text-classfication\data\\temp\label.txt",
	# 词汇表路径
	"vocab_file_path": "./data/temp/vocab.txt",
    #"vocab_file_path": "D:\pySpace\dcgame-text-classfication\data\\temp\\vocab.txt",
    # 模型持久化保存路径
    "save_dir":"./data/checkpoint/textcnn/",
    #"save_dir":"D:\pySpace\dcgame-text-classfication\data\checkpoint\\textcnn\\",
	"checkpoint_path":"check_point",
	# 验证集路径
	#"val_file_path":"./data/temp/val.csv",
	"val_file_path":"D:\pySpace\dcgame-text-classfication\data\\temp\example.csv",
	# 测试集路径
	#"test_file_path":"./data/temp/test_new.csv",
    "test_file_path":"D:\pySpace\dcgame-text-classfication\data\\temp\example.csv",
	# 测试结果输出路径
	#"output_file_path":"./data/output/result.csv"
    "output_file_path":"D:\pySpace\dcgame-text-classfication\data\\temp\\result.csv"
}
